package day10;

import java.util.HashSet;


public class StudentTest {
    public static void main(String[] args) {
        HashSet<Student> tr = new HashSet<>();
        Student stu = new Student("lihua", 70, 70, 70);
        Student stu1 = new Student("lihua", 70, 70, 70);
        Student stu2 = new Student("dahua", 90, 90, 90);
        tr.add(stu);
        tr.add(stu1);
        tr.add(stu2);
        for (Student student : tr) {
            System.out.println(student);
        }
    }
}
